package dreamdancetiktokmodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// 礼物榜活动

type DanceDonationRankingsReward struct {
	Id            int64          `gorm:"primaryKey;autoIncrement;comment:id" json:"id"`
	ActId         int64          `json:"actId" gorm:"column:act_id;type:bigint;default:0;not null;comment:活动id"`
	GiftId        string         `json:"giftId" gorm:"column:gift_id;type:varchar(256);not null;default:'';comment:礼物Id"`
	MinLimit      int64          `json:"minLimit" gorm:"column:min_limit;type:bigint;default:0;not null;comment:最小开始区间"`         // 最小值
	MaxLimit      int64          `json:"maxLimit" gorm:"column:max_limit;type:bigint;default:0;not null;comment:最大开始区间"`         // 最大值
	Rewards       string         `json:"rewards" gorm:"column:rewards;type:text;not null;comment:发放道具nos"`                       //发放道具nos
	EffectiveDays int64          `json:"effectiveDays" gorm:"column:effective_days;type:bigint;default:0;not null;comment:有效天数"` // 有效天数
	Remark        string         `json:"remark" gorm:"column:remark;type:text;not null;comment:备注"`                              //备注
	CreatedAt     time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt     time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt     gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
